layui.use([ 'jquery', 'layer', 'form', 'table'  ], function() {
    var $ = layui.jquery;
    var layer = layui.layer;
    var form = layui.form;
    var table = layui.table;
    $.ajax({
        url: 'departmentCenter/one',
        dataType: 'json',
        type: 'post',
        success: function (data) {
            $.each(data, function (index, item) {
                $("#one").append(
                    "<li class='day'>"+item.doctorName+"</li>"
                )
            });
        }
    })
    $.ajax({
        url: 'departmentCenter/two',
        dataType: 'json',
        type: 'post',
        success: function (data) {
            $.each(data, function (index, item) {
                $("#two").append(
                    "<li class='day'>"+item.doctorName+"</li>"
                )
            });
        }
    })
    $.ajax({
        url: 'departmentCenter/three',
        dataType: 'json',
        type: 'post',
        success: function (data) {
            $.each(data, function (index, item) {
                $("#three").append(
                    "<li class='day'>"+item.doctorName+"</li>"
                )
            });
        }
    })
    $.ajax({
        url: 'departmentCenter/four',
        dataType: 'json',
        type: 'post',
        success: function (data) {
            $.each(data, function (index, item) {
                $("#four").append(
                    "<li class='day'>"+item.doctorName+"</li>"
                )
            });
        }
    })
    $.ajax({
        url: 'departmentCenter/five',
        dataType: 'json',
        type: 'post',
        success: function (data) {
            $.each(data, function (index, item) {
                $("#five").append(
                    "<li class='day'>"+item.doctorName+"</li>"
                )
            });
        }
    })
    $.ajax({
        url: 'departmentCenter/six',
        dataType: 'json',
        type: 'post',
        success: function (data) {
            $.each(data, function (index, item) {
                $("#six").append(
                    "<li class='day'>"+item.doctorName+"</li>"
                )
            });
        }
    })
    $.ajax({
        url: 'departmentCenter/seven',
        dataType: 'json',
        type: 'post',
        success: function (data) {
            $.each(data, function (index, item) {
                $("#seven").append(
                    "<li class='day'>"+item.doctorName+"</li>"
                )
            });
        }
    })
    $.ajax({
        url: 'departmentCenter/currentNum',
        dataType: 'json',
        type: 'post',
        success: function (data) {
            $(".currentNum").text(data);
        }
    })
    $.ajax({
        url: 'departmentCenter/Total',
        dataType: 'json',
        type: 'post',
        success: function (data) {
            $(".Total").text(data);
        }
    })
    $.ajax({
        url: 'departmentCenter/zhuyuanTotal',
        dataType: 'json',
        type: 'post',
        success: function (data) {
            $(".zhuyuan").text(data);
        }
    })
    $.ajax({
        url: 'departmentCenter/currentZhuYuan',
        dataType: 'json',
        type: 'post',
        success: function (data) {
            $(".currentZhuYuan").text(data);
        }
    })
});
